package com.cj.mobile.iabp.mvp.model.entity;

/**
 * @ProjectName: NewRecyclingAndroid
 * @Package: com.zqw.mobile.recycling.model
 * @ClassName: CouponInfo
 * @Description: 优惠券信息
 * @Author: WLY
 * @CreateDate: 2023/7/26 12:18
 */
public class CouponInfo {
    public CouponInfo() {
    }

    /**
     * 优惠券核销
     */
    public CouponInfo(String couponId, double giftAmount, double fullAmount, int typeId) {
        this.ciNo = couponId;
        this.discountValue = giftAmount;
        this.limitValue = fullAmount;
        this.couponType = typeId;
    }

    /**
     * 优惠券分配
     */
    public CouponInfo(String couponId, String couponName, double giftAmount, double fullAmount, int typeId, String validityPeriod, int totalNum, int surplus, String batchNum, String desc) {
        this.ciNo = couponId;
        this.name = couponName;
        this.discountValue = giftAmount;
        this.limitValue = fullAmount;
        this.couponType = typeId;
        this.endDate = validityPeriod;
        this.totalNum = totalNum;
        this.couponCount = surplus;
        this.batchNum = batchNum;
        this.describe = desc;
    }

    // 优惠卷明细编号
    private String ciListNo;
    // 优惠券id
    private String ciNo;
    private String name;
    // 赠金额
    private double discountValue;
    // 满金额
    private double limitValue;
    // 券类型 1：满赠（元） 2：满赠（吨）
    private int couponType;
    // 有效期
    private String startDate;
    private String endDate;

    // 优惠券总数
    private int totalNum;
    // 剩余优惠券
    private int couponCount;
    // 批次号
    private String batchNum;
    // 店铺名称
    private String shopName;
    // 分配时间
    private String timeName;

    // 描述
    private String describe;
    // 状态：1：启用 2：已过期（已关闭） 8：已取消（禁用） 9：已删除
    // 状态：1：已制单 2：已平台发放 3：已回收员发放 4：已核销 5：已失效 9：已删除
    private int status;
    // 是否允许叠加使用 0：否 1：是
    private int isSuperpositionUse;
    // 使用用户
    private String ownerUserId;
    // 可使用的地区
    private String areaIds;

    public String getAreaIds() {
        return areaIds;
    }

    public void setAreaIds(String areaIds) {
        this.areaIds = areaIds;
    }

    public String getCiListNo() {
        return ciListNo;
    }

    public void setCiListNo(String ciListNo) {
        this.ciListNo = ciListNo;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public int getIsSuperpositionUse() {
        return isSuperpositionUse;
    }

    public void setIsSuperpositionUse(int isSuperpositionUse) {
        this.isSuperpositionUse = isSuperpositionUse;
    }

    public String getOwnerUserId() {
        return ownerUserId;
    }

    public void setOwnerUserId(String ownerUserId) {
        this.ownerUserId = ownerUserId;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getTimeName() {
        return timeName;
    }

    public void setTimeName(String timeName) {
        this.timeName = timeName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCiNo() {
        return ciNo;
    }

    public void setCiNo(String ciNo) {
        this.ciNo = ciNo;
    }

    public double getDiscountValue() {
        return discountValue;
    }

    public void setDiscountValue(double discountValue) {
        this.discountValue = discountValue;
    }

    public double getLimitValue() {
        return limitValue;
    }

    public void setLimitValue(double limitValue) {
        this.limitValue = limitValue;
    }

    public int getCouponType() {
        return couponType;
    }

    public void setCouponType(int couponType) {
        this.couponType = couponType;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public int getTotalNum() {
        return totalNum;
    }

    public void setTotalNum(int totalNum) {
        this.totalNum = totalNum;
    }

    public int getCouponCount() {
        return couponCount;
    }

    public void setCouponCount(int couponCount) {
        this.couponCount = couponCount;
    }

    public String getBatchNum() {
        return batchNum;
    }

    public void setBatchNum(String batchNum) {
        this.batchNum = batchNum;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }
}
